"""
DESCRIPTION
Strips a list of strings from white spaces

ARGUMENTS
1. input file
2. output file

CONTACT
timo.p.erkkila@tut.fi
http://www.cs.tut.fi/~erkkila2/
"""

import sys

fr = open(sys.argv[1],'r')
fw = open(sys.argv[2],'w')

lines = fr.readlines()

for line in lines:
    fw.write(line.strip()+'\n')
